{% extends "base.html" %}
{% load i18n %}

{% block title %}{% trans "Neues Passwort | fha-django-gallery" %}{% endblock %}

{% url auth_password_reset as auth_password_reset %}

{% block breadcrumbs %}
    {% blocktrans %}
        Sie befinden sich hier: <a href="/">fha-django-gallery</a> &raquo; 
        <a href="/account/profile/">Account</a> &raquo; 
        <a href="{{ url auth_password_reset }}">Passwort zurücksetzen</a>
    {% endblocktrans %}
{% endblock %}

{% block content %}
    {% if validlink %}
        <h2>{% trans "Passwort ändern" %}</h2>
        <p>{% trans "Geben Sie ihr neues Passwort bitte zweimal an." %}</p>
        <form action="" method="POST">
            {% csrf_token %}
            {% include "common/forms/display_form.html" %}
            {% with "Absenden" as submit_text %}
                {% include "common/forms/display_form_submit.html" %}
            {% endwith %}
        </form>
    {% else %}
        <h2>{% trans "Passwort zurücksetzen" %}</h2>
        <p>{% trans "Der Passwortlink war falsch!" %}</p>
    {% endif %}
{% endblock %}
